@import '../../styles/variables';
// 父容器
.home-container {
    margin-right: auto;
    margin-left: auto;
    height: 100%;
    margin-left: 156px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

// 头部
.header {
    box-sizing: border-box;
    height: 30px;
    line-height: 30px;
    color: #fff;
    background: $themeColor;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    text-align: center;
    border-radius: 3px;
}

// 头部面包屑
.home-breadcrumb {
    float: left;
    width: 400px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-variant: tabular-nums;
    list-style: none;
    -webkit-font-feature-settings: 'tnum';
    font-feature-settings: 'tnum';
    color: rgba(0, 0, 0, .45);
    font-size: 14px;
    height: 30px;
    text-align: left;
    padding-left: 10px;
    ul {
        margin: 0;
        overflow: hidden;
        li {
            display: inline-block;
            a {
                box-sizing: border-box;
                margin: 0;
                padding: 0;
                font-variant: tabular-nums;
                line-height: 1.5;
                list-style: none;
                font-feature-settings: 'tnum';
                color: rgba(0, 0, 0, .45);
                font-size: 14px;
                text-decoration: none;
                &:hover {
                    color: #007bff;
                }
            }
            &:last-child {
                a {
                    color: rgba(0, 0, 0, 0.65);
                }
            }
        }
    }
    .breadcrumb-separator {
        margin: 0 8px;
        color: rgba(0, 0, 0, .45);
    }
}

//消息提示
.home-prompt {
    display: inline-block;
    margin: 0px auto 0 -300px;
    width: 15px;
    height: 30px;
    line-height: 10px;
    box-sizing: border-box;
    -webkit-font-feature-settings: 'tnum';
    font-feature-settings: 'tnum';
    box-sizing: border-box;
    vertical-align: top;
}

.home-prompt-icon {
    margin-top: 7px;
    width: 14px;
    padding: 0;
    height: 16px;
    display: inline-block;
    background-image: url(/assets/image/tx-qs@2x.png);
    background-size: 100%;
    background-color: $themeColor;
    border: 1px solid transparent;
    outline: none
}

.home-prompt-icon.active {
    background-image: url(/assets/image/hone-icon@2x.png);
}

// 用户登录
.home-user {
    float: right;
    width: 175px;
    height: 30px;
}

.home-user .user-msg {
    vertical-align: top;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: rgba(34, 34, 34, 1);
    // line-height:14px;
    display: inline-block;
    margin-right: 22px;
}

//用户图标
.home-user-info {
    position: relative;
    display: inline-block;
    height: 30px;
    background-color: $themeColor;
}

.home-user-btn {
    box-sizing: initial;
    width: 24px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 24px;
    border: none;
    outline: none;
    background-color: $themeColor;
    padding: 0;
    display: inline-block;
    border-radius: 5px;
}

.home-user-btn:hover {
    background-color: #fff;
}

.home-user-icon {
    display: inline-block;
    width: 13px;
    height: 12px;
    background-image: url(/assets/image/gl-gl@2x.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin: 3px 0;
}

// 内容区域
.home-content {
    width: auto;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    height: 100%;
}

::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #888;
}

::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #EDEDED;
}

::-webkit-scrollbar-thumb:hover {
    /*滚动条里面小方块*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.6);
    background: #222;
}

::-webkit-scrollbar-track:hover {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.6);
}

.shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
}